dataSource {
    pooled = true
    driverClassName = "org.postgresql.Driver"
}
hibernate {
    cache.use_second_level_cache=true
    cache.use_query_cache=true
    cache.provider_class='com.opensymphony.oscache.hibernate.OSCacheProvider'
}
// environment specific settings
environments {
    development {
        dataSource {
            username = "cyril"
            password = "kikoolol"
            dbCreate = "update"
            url = "jdbc:postgresql://127.0.0.1:5432/albums"
        }
    }
    test {
        dataSource {
            username = "albums_test"
            password = "topsecret_test"
            dbCreate = "create-drop"
            url = "jdbc:postgresql://192.168.0.254:5432/albums"
        }
    }
    production {
        dataSource {
            username = "zCGloz8912ghs5"
            password = "*jUhGGQ7120°122"
            dbCreate = "validate"
            url = "jdbc:postgresql://proddbserver/albums"
        }
    }
}